<div class="toastr">
  <ng-container *ngIf="(toastrService.items$ | async) as items;">
    <div *ngFor="let item of items" class="toastr__item toastr--{{item.type}}">
      <div class="toastr__content">
        {{item.content}}
      </div>
      <div class="toastr__close" (click)="toastrService.delete(item.id)">
        <i class="fas fa-times"></i>
      </div>
    </div>
  </ng-container>
</div>